/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package network.Base.Exceptions;

/**
 *
 * @author Lega
 */
public class IDLessZeroException extends Exception {

    private String exceptionMessage;

    public IDLessZeroException() {
        exceptionMessage = null;
    }

    public IDLessZeroException(String exceptionMessage) {
        this.exceptionMessage = exceptionMessage;
    }

    @Override
    public String toString() {
        return "Message from IDLessZeroException: "  + exceptionMessage;
    }
}